package com.ldb.Controller.dao;

import org.hibernate.SessionFactory;

import com.ldb.Controller.entity.Student;
import com.ldb.Controller.entity.User;

//public class UserDAO implements IUserDAO {
//
//	private SessionFactory SessionFactory;
//	
//
//	public void setSessionFactory(SessionFactory sessionFactory) {
//		SessionFactory = sessionFactory;
//	}
//
//	@Override
//	public void addUser(User user) {
//		SessionFactory.getCurrentSession().save(user);
//	}
//
//}

public class UserDAO extends BaseDao<User> {
	
    public UserDAO() {}
	
    public UserDAO(User user) {
		super(user.getClass());
	}
}
